﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="YunCMS.Web.Admin.test" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Styles/jquery-ui-1.8.13.custom.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/site.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script>
    <script src="../Scripts/init.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#date-picker").datepicker();

            $("#checkAll").click(function () {
                var chxs = $(".td :checkbox");
                if ($(this).is(":checked")) {
                    chxs.attr("checked", true);
                }
                else {
                    chxs.attr("checked", false);
                }
            });
        });
    </script>
</head>
<body>
    
    <form id="form1" runat="server">
    <div>
        <div id="date-picker">
        </div>
        <asp:LinkButton ID="addBT" runat="server">新 增</asp:LinkButton>
        <fieldset title="批量操作">
            <asp:LinkButton ID="deleteAllBT" runat="server" >删除</asp:LinkButton>
            <asp:LinkButton ID="topAllBT" runat="server">置顶</asp:LinkButton>
            <asp:LinkButton ID="activeAllBT" runat="server">审核</asp:LinkButton>
        </fieldset>
         <input id="checkAll" type="checkbox" />
         <div class="td">
         <input id="Checkbox1" type="checkbox" /><input id="Checkbox2" type="checkbox" /><input id="Checkbox3" type="checkbox" /><input id="Checkbox4" type="checkbox" /><input id="Checkbox5" type="checkbox" /><input id="Checkbox6" type="checkbox" />
         </div>
    </div>
    </form>
</body>
</html>
